package com.qq.api.feign;

import com.qq.api.feign.fallback.UserFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "qq-user-service", contextId = "com.qq.api.feign.UserFeignApi",
        fallback = UserFeignFallback.class)
public interface UserFeignApi {

    @RequestMapping("/user/getUserInfo")
    String getUserInfo();

}
